﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Krile.Kernel;
using Krile.Kernel.Data;

namespace Wassrile.Searchs
{
    public class SearchWassrStatus: NoneSearchData
    {
        public override string Identification
        {
            get { return "WASSRILE_WASSR_KRILE_PLUGIN_SEARCH_WS"; }
        }

        protected override bool IsMatchedInner(Status status)
        {
            if (status.ParentService.ParentPluginId == Define.PluginId)
                return true;
            else
                return false;
        }

        public override string Description
        {
            get { return "Wassrに投稿されたステータスを抽出します。"; }
        }

        public override string Name
        {
            get { return "Wassrステータス検索"; }
        }

        public override object Clone()
        {
            var sws = new SearchWassrStatus();
            sws.Exclude = this.Exclude;
            return sws;
        }

        public override string Class
        {
            get { return "Services"; }
        }

        public override string Method
        {
            get { return "FromWassr"; }
        }
    }
}
